package com.zcy.gift.client;

import com.zcy.gift.client.fallback.GoodSkuFallBack;
import com.zcy.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 *
 * </p>
 *
 * @author lucker
 * @date 2024/2/20 19:50
 */

@FeignClient(name = "gift-gift", fallback = GoodSkuFallBack.class)
public interface GoodSkuClient {
    @GetMapping("/goodsSku/{id}")
    AjaxResult get(@PathVariable("id")Long id);
}
